package com.cssw.fyzb.core.mongo;

/**
 * @author Feng Chen
 */
public class MongoOptions {

    private int maxWaitTime = 1000 * 3;

    private int coTimeout = 1000;

    private int soTimeout = 3000;

    private int coPerHost = 10;

    private int coMultiplier = 5;

    public int getMaxWaitTime() {
        return maxWaitTime;
    }

    public void setMaxWaitTime(int maxWaitTime) {
        this.maxWaitTime = maxWaitTime;
    }

    public int getCoTimeout() {
        return coTimeout;
    }

    public void setCoTimeout(int coTimeout) {
        this.coTimeout = coTimeout;
    }

    public int getSoTimeout() {
        return soTimeout;
    }

    public void setSoTimeout(int soTimeout) {
        this.soTimeout = soTimeout;
    }

    public int getCoPerHost() {
        return coPerHost;
    }

    public void setCoPerHost(int coPerHost) {
        this.coPerHost = coPerHost;
    }

    public int getCoMultiplier() {
        return coMultiplier;
    }

    public void setCoMultiplier(int coMultiplier) {
        this.coMultiplier = coMultiplier;
    }
}
